package com.bw.z.db;

import com.bw.z.mvp.model.entity.BaseEntity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class UserTable extends BaseEntity {

    @Id(autoincrement = true)
    private Long id;

    private int user_id;
    private String user_img;
    private int user_integral;
    private String user_name;
    private int user_phone;
    private String user_pwd;
    private String user_sex;

    @Generated(hash = 209994669)
    public UserTable(Long id, int user_id, String user_img, int user_integral,
                     String user_name, int user_phone, String user_pwd, String user_sex) {
        this.id = id;
        this.user_id = user_id;
        this.user_img = user_img;
        this.user_integral = user_integral;
        this.user_name = user_name;
        this.user_phone = user_phone;
        this.user_pwd = user_pwd;
        this.user_sex = user_sex;
    }

    @Generated(hash = 726134616)
    public UserTable() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getUser_id() {
        return this.user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_img() {
        return this.user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    public int getUser_integral() {
        return this.user_integral;
    }

    public void setUser_integral(int user_integral) {
        this.user_integral = user_integral;
    }

    public String getUser_name() {
        return this.user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getUser_phone() {
        return this.user_phone;
    }

    public void setUser_phone(int user_phone) {
        this.user_phone = user_phone;
    }

    public String getUser_pwd() {
        return this.user_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public String getUser_sex() {
        return this.user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }
}
